
<?php //include_once 'Application/Views/view/header.php'; ?>

<form action="/app_registro_vehiculos/principal.php?controller=Owner&action=insert" method="post">
    <center>
        <fieldset style="width: 250px">                
            <table id="content">
                <tr>
                    <td>DNI</td>
                    <td><input type="text" name="dni" required placeholder="DNI" autofocus maxlength="8" onkeypress="onlyNumbers();"/></td>
                </tr>
                <tr>
                    <td>APELLIDOS</td>
                    <td><input type="text" name="apellidos" required placeholder="APELLIDOS" onkeypress="onlyLetters();" /></td>
                </tr>
                <tr>
                    <td>NOMBRES</td>
                    <td><input type="text" name="nombres" required placeholder="NOMBRES" onkeypress="onlyLetters();" /></td>
                </tr>
                <tr>
                    <td>SEXO</td>
                    <td>
                        <select  name="sexo">
                            <option value="M">Masculino</option>
                            <option value="F">Femenino</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td>FECHA DE NACIMIENTO</td>
                    <td><input type="date" name="fechaNacimiento" required placeholder="FECHA DE NACIMIENTO" /></td>
                </tr>
                <tr>
                    <td>DIRECCION</td>
                    <td><input type="text" name="direccion" required placeholder="DIRECCION" /></td>
                </tr>
                <tr>
                    <td colspan="2" align="center">
                        <input type="submit" value="Guardar"  />
                    </td>
                </tr>
            </table>                
        </fieldset>             
    </center>
 </form>
<center>
   <!-- <div style="text-align: center">
        <?php include_once 'Application/Views/view/botonInicio.php'; ?>
    </div>-->
</center>